import {Button} from "antd";
import React from "react";

const UserHtml = (props) => {
    return (
        <div>用户页面
            <Button onClick={props.setDefault}>修改default</Button>
            <Button onClick={()=>{props.jump('/home/other')}} type={'primary'}>去Other</Button>
            <Button onClick={props.updateTime} type={"primary"} danger={true}>刷新时间</Button>
            <Button onClick={props.getQinhua}>刷新情话</Button>
            <Button onClick={()=>{props.jump('/home/test')}} type={"primary"}>去Test</Button>
            {props.storeState.default}
            <div style={{lineHeight:'30px'}}>
                {props.qinhua}
            </div>
            <div style={{lineHeight:'30px'}}>
                现在的时间为：{props.thisTime}
            </div>
        </div>
    )
}
export default UserHtml;